<!DOCTYPE html>
<html style="background-color: rgb(251, 251, 251);">

<head>
    <meta charset="utf-8">
    <title>{$site_seo.site_title}</title>
    <meta name='keywords' content='{$site_seo.site_keyword}'>
    <meta name='description' content='{$site_seo.site_description}'>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="/static/css/bulma.css">
    <link rel="stylesheet" href="/static/css/style.css">
    <script defer src="https://cdn.bootcss.com/font-awesome/5.11.2/js/all.js"></script>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
    <script type="text/javascript" src="https://static.runoob.com/assets/qrcode/qrcode.min.js"></script>
    <script src="/static/layer/layer.js"></script>

</head>

<body>
<div class="xs-h-top"
     style="border-top: 1px solid #d4d4d4;border-bottom:1px solid #d4d4d4;">
    <div class="container" style="max-width:960px;height: 25px;">
        <div>
            <span class="xs-header-left">{$site_seo.site_top|raw}</span>
            <span class="xs-header-right">
                    {eq name="login" value="0"}
                    [<a href="{:url('index/index/login')}">登陆</a>] | [<a href="{:url('index/index/reg')}">注册</a>]
                    {else/}
                    [<a href="{:url('index/user/main')}">会员中心</a>] | [<a href="{:url('index/index/out')}">退出登陆</a>]
                    {/eq}
                </span>
        </div>
    </div>
</div>
<!--is-fixed-top-->
<nav class="navbar is-danger yy" role="navigation" aria-label="main navigation">
    <div class="container" style="max-width:960px">
        <div class="navbar-brand">
            <a class="navbar-item" style="background-color:rgba(10, 10, 10, 0);" href="/">
                <img src="/static/img/123-01.png" height="21">
                <span class="logo"></span>
            </a>

            <a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false"
               data-target="navbarBasicExample">
                <span aria-hidden="true"></span>
                <span aria-hidden="true"></span>
                <span aria-hidden="true"></span>
            </a>
        </div>
        <div id="navbarBasicExample" class="navbar-menu">
            <div class="navbar-start">
                <a class="navbar-item is-active" href="/"> 首页 </a>
                {foreach $sort_list_menu as $key=>$vo }
                <div class="navbar-item has-dropdown is-hoverable">
                    <a class="navbar-link is-arrowless" href="{:url('index/index/cate',['type'=>$vo.alias])}">
                        {$vo.name}
                    </a>
                    {present name="$vo.son"}
                    <div class="navbar-dropdown">
                        {volist name="$vo.son" id="p"}
                        <a class="navbar-item" href="{:url('index/index/cate',['type'=>$vo.alias,'c'=>$p.alias])}">
                            {$p.name}
                        </a>
                        {/volist}
                    </div>
                    {/present}


                </div>
                {/foreach}
                {$site_seo.site_nav|raw}
            </div>
        </div>

        <!--                <div class="navbar-end">-->
        <!--                    <div class="navbar-item">-->
        <!--                        <div class="buttons">-->

        <!--                        </div>-->
        <!--                    </div>-->
        <!--                </div>-->
    </div>
    </div>
</nav>